package com.jaydenxiao.common.baseapp;

import java.util.Map;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Url;

/**
 * Created by hasee on 2018/1/29.
 */

public interface BaseHttpService {


    //获取用户行为的地址
    @GET
    Observable<String> getUserActionUrl(@Url String url);

    //版本更新
    @GET
    Observable<String> getApkVersion(@Url String url);

    //提交用户行为
    @FormUrlEncoded
    @POST("appbehavior/save")
    Observable<String> addUserAction(@FieldMap Map<String, String> map);



}
